package com.dh.spring.common;

import java.io.File;
import java.util.List;

/**
 * @Auther: YSFY
 * @Date: 2019/12/6 00:42
 * @Pacage_name: com.dh.spring.common
 * @Project_Name: arthas-client
 * @Description: socket消息体
 */
public class SocketMessage {

    //TODO 文件个数
    private int fileCount;

    //TODO 文件对象集合;
    private List<File> fileList;

    //TODO 文件总大小
    private long fileTotalSize;

    //TODO 文件信息集合
    private List<SpecificMessage> list;

    public int getFileCount() {
        return fileCount;
    }

    public void setFileCount(int fileCount) {
        this.fileCount = fileCount;
    }

    public List<File> getFileList() {
        return fileList;
    }

    public void setFileList(List<File> fileList) {
        this.fileList = fileList;
    }

    public long getFileTotalSize() {
        return fileTotalSize;
    }

    public void setFileTotalSize(long fileTotalSize) {
        this.fileTotalSize = fileTotalSize;
    }

    public List<SpecificMessage> getList() {
        return list;
    }

    public void setList(List<SpecificMessage> list) {
        this.list = list;
    }

    public class SpecificMessage {

        //TODO 文件名称
        private String fileName;

        //TODO 文件大小
        private long fileSize;

        //TODO 文件路径
        private String filePath;

        public SpecificMessage() {
        }

        public String getFileName() {
            return fileName;
        }

        public void setFileName(String fileName) {
            this.fileName = fileName;
        }

        public long getFileSize() {
            return fileSize;
        }

        public void setFileSize(long fileSize) {
            this.fileSize = fileSize;
        }

        public String getFilePath() {
            return filePath;
        }

        public void setFilePath(String filePath) {
            this.filePath = filePath;
        }
    }
}
